method of transition matrices

转移矩阵法